package torcs.danielpd.SANE;

import ecprac.torcs.genome.IGenome;

public class DriverGenome implements IGenome {
	private static final long serialVersionUID = 1337L;
	
	public Neuron[] hiddenLayer;
	
	DriverGenome (int hiddenLayerSize) {
		hiddenLayer = new Neuron[hiddenLayerSize];
	}
	
	public void initialize() {
		// Neuron connections = 4
		int neuronConnection = 32;
		for (int n = 0; n < hiddenLayer.length; n++) {
			hiddenLayer[n] = new Neuron(neuronConnection);
			hiddenLayer[n].initialize();
		}
	}
}
